package com.wanda.service.impl;


import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wanda.dao.Wd_Opening_ReportDAO;
import com.wanda.model.Pay_TypeModel;
import com.wanda.model.Wd_Opening_ReportModel;
import com.wanda.model.Wd_Opening_ReportsModel;
import com.wanda.service.Wd_Opening_ReportService;
@Service
public class Wd_Opening_ReportServiceImpl implements Wd_Opening_ReportService{

	@Autowired
	private Wd_Opening_ReportDAO wd_Opening_ReportDAO;
	public int insertWd_Opening_Report(Wd_Opening_ReportModel opening) {
		// TODO Auto-generated method stub
		return wd_Opening_ReportDAO.insertWd_Opening_Report(opening);
	}

	public int updateWd_Opening_Report(Wd_Opening_ReportsModel opening) {
		// TODO Auto-generated method stub
		return wd_Opening_ReportDAO.updateWd_Opening_Report(opening);
	}

	public int deleteWd_Opening_Report(Wd_Opening_ReportModel opening) {
		// TODO Auto-generated method stub
		return wd_Opening_ReportDAO.deleteWd_Opening_Report(opening);
	}

	public List<Wd_Opening_ReportsModel> selectAll() {
		// TODO Auto-generated method stub
		return wd_Opening_ReportDAO.selectAll();
	}

	public Wd_Opening_ReportsModel selectById(String opening_report_id) {
		// TODO Auto-generated method stub
		return wd_Opening_ReportDAO.selectById(opening_report_id);
	}

	public List<Wd_Opening_ReportsModel> selectAlls() {
		// TODO Auto-generated method stub
		return wd_Opening_ReportDAO.selectAlls();
	}
/*	public Object insertWd_Opening_Report(String id, Object parameterObject) throws SQLException {
		// TODO Auto-generated method stub
		return wd_Opening_ReportDAO.insertWd_Opening_Report(id, parameterObject);
	}*/

	public int updates(String opening,String payid) {
		// TODO Auto-generated method stub
		return wd_Opening_ReportDAO.updates(opening,payid);
	}

	public int updatess(Map map) {
		// TODO Auto-generated method stub
		return wd_Opening_ReportDAO.updatess(map);
	}

}
